﻿<div id="datagrid1" class="mini-datagrid" style="width:100%;height:100%;" 
        showPager = "false" showPageSize="false" showPageIndex="false" skipReadOnlyCell="true"
        allowCellSelect="true" allowSortColumn = "false" allowCellEdit="true" navEditMode="true"
        editNextOnEnterKey="true"  editNextRowCell="false" showSummaryRow="true"
        ondrawcell="onDrawCell" oncellcommitedit="onCellCommitEdit" ondrawsummarycell="onDrawSummaryCell"
        onrowdblclick="onRowDblClick" fitColumns="false" oncelleditenter="onCelleditenter">
        <div property="columns">            
        <div type="indexcolumn" width="35" headerAlign="center" >序号</div>
        <div field="mFNumber" name="mFNumber" displayField = "mFNumber" width="120" headerAlign="center">商品编码
        <input property="editor" class="mini-buttonedit" onbuttonclick = "onButtonEditImg" onvaluechanged = "onValueChangedImg" style="width:100%;"/>
        </div>  
        <div field="mFName" name="mFName" width="160" headerAlign="center">商品名称</div>  
        <div field="mFModel" name="mFModel" width="100" headerAlign="center">规格型号</div>
        <div field="mFUnitName" name="mFUnitName" width="40" headerAlign="center">单位</div>
        <div field="mFStockQty" name="mStockQty" width="70" headerAlign="center" align="right">库存数量</div>
        <div field="mFQty" name="mFQty" width="70" headerAlign="center" align="right">申请数量
            <input property="editor" class="mini-spinner" maxValue="99999999" style="width:100%;"changeOnMousewheel ="false" showbutton="false" increment ="0" />
        </div>
        <div field="mFPrice" name="mFPrice" width="70" numberFormat="#,0.00" headerAlign="center" align="right">单价
            <input property="editor" class="mini-spinner" maxValue="99999999" style="width:100%;"changeOnMousewheel ="false" showbutton="false" increment ="0" />
        </div>
        <div field="mFAmount" name="mFAmount" numberFormat="#,0.00" width="90" headerAlign="center" align="right" summaryType="sum">金额
            <input property="editor" class="mini-spinner" maxValue="99999999" style="width:100%;"changeOnMousewheel ="false" showbutton="false" increment ="0" />
        </div>
        <div field="mFQty_DawIn" name="mFQty_DawIn" numberFormat="#,0.00" width="90" headerAlign="center" align="right" summaryType="sum">已退货数量</div>
        <div field="mFQty_DawOut" name="mFQty_DawOut" numberFormat="#,0.00" width="90" headerAlign="center" align="right" summaryType="sum">已收货数量</div>        
        <div field="mFCode" name="mFCode" width="120" headerAlign="center">商品条码</div>        
        <div field="mFRemark" name="mFRemark" headerCls="CellLast" width="150" headerAlign="center" >备注
            <input property="editor" class="mini-textbox" style="width:100%;"/>
        </div>
    </div>
</div>  